package com.fqyd.hrm.mapper;

import com.fqyd.hrm.model.Document;
import com.fqyd.hrm.model.DocumentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DocumentMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(DocumentExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(DocumentExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(Document record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Document record);

    /**
     *
     * @mbggenerated
     */
    List<Document> selectByExample(DocumentExample example);

    /**
     *
     * @mbggenerated
     */
    Document selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") Document record, @Param("example") DocumentExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") Document record, @Param("example") DocumentExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Document record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Document record);
}